package
{
	import org.flixel.*;
	import org.flixel.plugin.photonstorm.FlxWeapon;

	public class BlueBullet extends FlxWeapon
	{
		[Embed(source = "../media/blue_bullet.png")]private var blue_bullet:Class;

		public var damage:int = 1;
		public var speed:int = 600;

		public function BlueBullet()
		{
			super("blue_ball", Registry.player);
			this.makeImageBullet(100, blue_bullet, Registry.positionOffset.x, Registry.positionOffset.y, false, 16, -1, false, false);
			this.setBulletSpeed(speed);
			this.setBulletGravity(0, 0);
			this.setFireRate(100);
			this.setBulletBounds(new FlxRect(0, 0, FlxG.width, FlxG.height));
			this.setBulletDirection(FlxWeapon.BULLET_RIGHT,speed);
		}
		
	}
}